package cn.juque.jdfsystem.mapper;

import cn.juque.jdfsystem.entity.PlatformInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>接入的平台信息</li>
 * </ul>
 * @date 2023-01-13 15:18:08
 **/
@Mapper
public interface PlatformInfoMapper extends BaseMapper<PlatformInfo> {

    /**
     * 分页查询
     *
     * @param page         : page
     * @param platformInfo : platformInfo
     * @return List<PlatformInfo>
     */
    List<PlatformInfo> queryInfoList(Page<PlatformInfo> page, @Param("ew") PlatformInfo platformInfo);

    /**
     * 查询
     *
     * @param platformInfo : platformInfo
     * @return List<PlatformInfo>
     */
    List<PlatformInfo> queryInfoList(@Param("ew") PlatformInfo platformInfo);
}
